<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>修改品牌</title>
    <css file="__STATIC__/hdjs/hdui.css"/>
    <css file="__STATIC__/bootstrap/css/bootstrap.min.css"/>
    <style type="text/css">
		.checkbox{
			 margin-left:5px;
			 width:90px;
			 margin-top: 10px;
		}
		textarea{
			width: 300px;
			height: 100px;
		}
    </style>
</head>
<body>
<div class="wrap">
    <div class="title-header">修改品牌</div>
    <form action="" method="post" class="form-inline hd-form" enctype="multipart/form-data">
        <table class="table1">
            <tr>
                <th class="w100">修改品牌名称</th>
                <td class="w100">
                    <input type="text" name="bname" class="w200" value="{$old['bname']}"/> 
                </td>
                <td></td>
            </tr>
             <tr>
                <th class="w100">是否热门</th>
                <td>
                	<label class="radio-inline">
                      <input type="radio" name="whether" id="is_show" value="1" checked="checked" <if value="$old['what_hot'] eq 1">checked="checked"</if>> 是
                    </label>
                    <label class="radio-inline">
                      <input type="radio" name="whether" id="is_show" value="0" <if value="$old['is_show'] eq 0">checked="checked"</if>> 否
                    </label>
                </td>
                <td></td>
            </tr>
            <tr>
                <th class="w100">排序</th>
                <td>
                    <input type="text" name="sort" id="" value="100" class="w200" value="{$data['sort']}"/>
                </td>
                <td></td>
            </tr>
            <tr>
                <th class="w100">品牌Logo</th>
                <td>
                	<input type="file" name="logo" id="" />
                </td>
                <td>
                	<img src="__ROOT__/{$old.logo}" style="width: 100px;height: 100px;"/>
                	<input type="hidden" name="logoH" value="{$old.logo}" />
                </td>
            </tr>
        </table>
        <div class="position-bottom">
            <!--<input type="hidden" value="{$hd.get.pid}" name="pid"/>-->
            <input type="submit" class="hd-success" value="保存"/>
        </div>
    </form>
</div>
</body>
</html>